package com.ssau.expert.core.api;

import com.ssau.expert.app.DatabaseAPI;
import com.ssau.expert.core.model.FuzzyRule;
import com.ssau.expert.core.model.Rule;

import java.util.Collection;

/**
 * Author: Sergey Saiyan
 * Created: 26.09.13 13:18
 */
public interface DatabaseCoreAPI extends DatabaseAPI {

    void putRule(Rule rule);

    Collection<Rule> getRuleCollection();

    Collection<FuzzyRule> getFuzzyRules();

    void restoreRules(Collection<Rule> rules);

    void clearRules();


}
